ProJPEGェ Text Docs. Copyright 1996 BoxTop Software, Inc. All rights Reserved.
BoxTop Software, Inc.
One Research Boulevard
Suite 201
Starkville, MS 39759
voice 601/323-6436
fax 601/324-7352
http://www.boxtopsoft.com
ftp://ftp.boxtopsoft.com
info@boxtopsoft.com
Overview
ProJPEGェ is the most powerful tool available for creating optimized JPEG files for the web. It has many advanced features that make producing JPEG files easy and efficient with no surprises in store.
ProJPEGェ is an Adobe Photoshop 3.0 File-Format plug-in that integrates seamlessly into Adobe Photoshop. It combines open and save simplicity with the most powerful features available for creating JPEG files.
What is JPEG?
JPEG (pronounced ヤjaypegユ) is the common usage name of one of two graphic file formats commonly supported by web browsers. Note, that JPEG is a compression method and not the actual name of the file format. JFIF is the correct name of the file format that web browsers support.
JPEG and the JFIF format were developed by the Joint Photographic Experts Group to provide for efficient compression and storage for full-color and gray-scale, continuous tone images of natural, real world scenes, i.e. photographs. JPEG, referring to the common name of the format, supports 24-bit color (16.7 million colors) and uses JPEG compression, which is a ヤlossyユ method, meaning that image data is lost in the compression process, and the uncompressed image will not match the original image perfectly, as it would if it were compressed with a ヤlosslessユ method. JPEG is highly optimized for compressing continuous tone, photographic images and does not perform as well, both in terms of resultant visual image quality and in terms of achievable compression, for other types of images. Generally, you should not use JPEG for images that are not photographic in nature.
Installing ProJPEGェ
To install ProJPEGェ simply place the ヤ ProJPEGェ 2.0ユ plug-in inside your Adobe Photoshop ヤPlug-insユ folder and optionally inside the ヤFile Formatsユ folder within the ヤPlug-insユ folder. ProJPEGェ will then be available to use as a method to open and save files the next time Photoshop is launched. ヤ ProJPEG 2.0ユ will then appear as a new item in the file format menu in Photoshopユs open file and save file dialogs.
ProJPEGェ is a FAT plug-in and will run in native mode on both 68k and PPC based Macintosh computers for best performance.
Key differences between ProJPEGェ and Photoshopユs JPEG
There are key differences between ProJPEGェ and Adobe JPEG. Adobe JPEG implements non JFIF compliant extensions to the format that ProJPEGェ does not support, specifically CMYK JPEG files as these are not suitable for web use and not supported by web browsers. ProJPEGェ also supports JPEG variations that Adobe JPEG does not, specifically progressive JPEG files.
This can cause some confusion when attempting to open existing CMYK JPEG files that you created with Adobe JPEG using ProJPEGェ, and also when attempting to open progressive JPEG files that you created with ProJPEGェ using Adobe JPEG.
ProJPEGェ will report correctly that a CMYK JPEG file is an unsupported file type, however Adobe JPEG will incorrectly report a progressive JPEG file as being corrupt and damaged.
If you encounter a JPEG file that creates and error when attempting to open it using either ProJPEGェ or Adobe JPEG first try opening the same file using the other method before assuming that the file may actually be corrupt.
The ProJPEGェ Interface
ProJPEGェ has one main options dialog for controlling compression parameters when saving images. The options dialog contains an interactive quality preview, a check box to enable or disable the preview feature, information on image and file size, quality slider control, progressive check box, Huffman optimization checkbox, better subsampling checkbox , a pop-up menu for loading saved presets, and a button for saving presets.
Controls and dialog items
・The compression preview
ProJPEGェ has a live compression preview that shows you exactly what your image will look like as a JPEG file as you adjust compression settings. The preview is fixed at 100% size and can not be scaled because any scaling would defeat the purpose of the quality preview by altering the way the image appeared. The preview area defaults to the top, left corner of the image being saved but can be scrolled to any portion of the image desired. The preview can also be disabled and enabled as desired.
・The enable/disable preview check box.
This check box enables or disables the preview in the ProJPEGェ options dialog. Working with the preview on provides interactive feedback as you adjust compression options, but it can be slower than using ProJPEGェ without the preview enabled.
・The image size readout
To the right of the preview, the top text in the ProJPEGェ options dialog is the image size. This is the size of the image being saved in pixels wide by pixels tall and does not change as you change compression settings.
・The approximate data size readout
When the quality preview is enabled the approximate data size is displayed below the image size. This is an approximation of the final compressed size of your JPEG fileユs data fork and the compression ratio achieved that is extrapolated from the exact compressed size of the current preview area of the image. If the area of the image being saved that is visible in the preview is representative of the entire image this estimate will be extremely accurate. However, the approximate data size and compression ratio is subject to some inaccuracy because it is based only on the portion of the image within the preview area.
・The quality slider
Below the approximate data size is the most important control in the ProJPEGェ options dialog, the quality slider. The quality setting is what is most determinant of image quality and compression. Its range is from zero to one hundred, and zero really does mean zero.
It is not advisable to save images at quality settings bellow 10 or above 90 since they are both extremes above or below which no usable advantage in compression or quality is gained.
The quality setting can also be entered numerically in the text edit field to the right of the quality slider. The valid range for the quality setting is zero to one hundred with greater numbers representing greater image quality.
・The progressive check box
This controls whether your image will be a progressive JPEG or a standard baseline compliant JPEG. Progressive JPEGs allow for incremental display similar to interlaced GIFs but more aesthetically pleasing to view. Progressive encoding is also slightly more efficient than non-progressive encoding and progressive JPEG files are generally slightly smaller than the equivalent non-progressive JPEG files.
Progressive JPEGs provide the fastest loading images possible for the web. However, there are still some remaining compatibility issues when using progressive JPEG files.
At the time of writing 12 web browsers support progressive JPEG in their current versions. The JPEG FAQ maintained by Tom Lane of the Independent JPEG Group maintains an up-to-date list of all known applications currently supporting progressive JPEG.
・ The Huffman optimization checkbox
Huffman compression is the final step in the JPEG compression process. Normally a pre-calculated, general purpose Huffman table is used in this process as it results in faster compression. However, more efficient compression can be achieved by using a Huffman table that is optimized for the specific image being compressed. The ヤOptimize Huffman Codesユ option creates an optimized Huffman table for the image being compressed and results in slightly better compression efficiency with no additional quality loss in the image.
・ The better subsampling checkbox
Checking this box causes ProJEPGェ to use a more accurate method of subsampling and improves image quality but generally results in slightly larger JPEG files than if this option were off.
・The presets menu
Presets allow you to save and rapidly set all control options when using ProJPEGェ to save a JPEG file. The presets menu affects all settings, including controls that are not visible from the basic options dialog. To load a preset simply select the preset in the menu and all controls will be changed automatically to the stored values in the preset. The option to create a new preset is only available from the advanced options.
・The save preset button
To create a new preset first make all the control settings you wish to store in the new preset then click on the ヤSave Presetsユ button. You will be prompted to name the new preset then it will appear in the presets menu until it is deleted. The ヤSave Presetsユ button is also used to delete presets. If you press the option key the ヤSave Presetsユ button title will change to ヤDelete Presetsユ and the currently loaded preset will be deleted from the presets menu when you click on ヤDelete Presetsユ.
Opening Files with ProJPEGェ
Opening files with ProJPEGェ takes no special action from the finder. Simply double-click on a JPEG file or drag a JPEG file onto Photoshop, and ProJPEGェ will be used as the default method for opening all JPEG files and there is no user control over this behavior.
However, ProJPEGェ does not support all possible variations of JPEG files. For instance it does not support Adobe CMYK JPEG files, since they are not applicable to web use. There will be times when you may need to open a JPEG file with a method other than ProJPEGェ.
When in Adobe Photoshop you can specify what method to use opening a given file by opening the file from the ヤOpen...ユ menu item in the ヤFileユ menu. To do this first select the ヤOpen..ユ item then in the dialog that appears check ヤShow all typesユ, which is towards the bottom right of the dialog. A pop-up menu titled ヤFormat:ユ will appear below the file list in the dialog after ヤshow all typesユ has been checked.
Next select the file you wish to open from the file list by single clicking on it. Note that double clicking on the file will begin the opening process before you have selected the method to open the file with.
Once the correct file is highlighted, select the method you would like the file to be opened with from the ヤFormat:ユ pop-up menu. Photoshopユs internal JPEG support appears in this menu simply as ヤJPEGユ. Once you have selected the method to use in the ヤFormat:ユ pop-up menu, open the file by hitting the ヤOpenユ button.
Saving Files with ProJPEGェ
There are two means of saving files using ProJPEGェ. The first is using the ヤSave as...ユ command in Photoshop and the second is ヤSaveユ or command - S. You should be very familiar with save and save as from within Photoshop and using ProJPEGェ works in much the same way as saving in other formats from Photoshop.
If you perform a ヤSave as...ユ you first see Photoshopユs put file dialog where you select the format to use and supply the name for the new file. Once you hit the ヤSaveユ button in that dialog the options dialog for ProJPEGェ will appear.
In the options dialog for ProJPEGェ you will need to make the desired settings for compression. Minimally you should adjust the quality slider to the desired level and check or uncheck the progressive option as desired before hitting the ヤOKユ button to complete the saving process. You may also cancel at any time from the options dialog without saving the file.
Once you hit the ヤOKユ button from the options dialog ProJPEGェ begins to save the file to disk. You may also cancel saving from the progress dialog at any time before ProJPEGェ completes saving the file to disk.
Command - S saving requires no special user action and no options need be set when saving an image in the normal course of working. With ProJPEGェ it is not recommended that you ヤsaveユ an existing JPEG file immediately after opening it without first performing a ヤsave asユ to ensure the compression setting are what you expect them to be.
Unlike, Adobeユs JPEG, ProJPEGェ does not store compression settings in the file. This means that if you ヤSaveユ immediately after opening an existing JPEG file before you ヤSave as...ユ and manually reset the compression options the file will be saved with the default settings of ProJPEGェ and not necessarily the settings previously used to save the file.
It is not good practice to use JPEG as a working format because of itユs lossy nature, but it is safe to edit JPEG files and resave them when necessary if done with caution. When saving multiple times in the same editing session cumulative quality loss does not occur, since the original RGB data is recompressed each time you save from the open file.
Optimizing JPEG images for the web with ProJPEGェ
You should limit your use of JPEG for web graphics to continuous tone, full color or greyscale images of photographic nature. These are the types of images where JPEG excels. Also, you should never save images that have been color reduced to 256 or less colors as JPEG files. Doing so will be very detrimental to image quality and also compression efficiency.
Besides those general rules of thumb, there are no practical manual optimizations that can be performed on your image prior to saving as JPEG to improve compression or quality. The final outcome will be largely dependent on the settings used to create the JPEG file.
One thing to remember when you create graphics for the web is that fast download times are often more critical than image quality. The goal is to find a mid point between both extremes that allows for the smallest possible file while maintaining acceptable image quality, with what is acceptable image quality varying by the specific use of the image. For example, a photographers portfolio would require much higher quality images than thumbnail images for an on-line catalog to achieve the desired effectiveness.
The live image compression preview in ProJPEGェ allows you to have immediate feedback on how changing setting will affect quality and compression and will allow you to safely push compression to the limit to quickly achieve the smallest, best looking files possible.
ProJPEGェ 2.0 is Copyright 1996 BoxTop Software, Inc. All rights reserved. ProJPEGェ is a Trade Mark of BoxTop Software, Inc.